package org.github.manx98.jlibhac.fssystem;

import lombok.ToString;
import org.github.manx98.jlibhac.common.math.Uint16;
import org.github.manx98.jlibhac.common.reflect.StructureMap;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/3 20:52
 */
@ToString
public class NcaSparseInfo {
    @StructureMap(offset = 0)
    public long MetaOffset;
    @StructureMap(offset = 8)
    public long MetaSize;
    @StructureMap(offset = 16, length = 16)
    public byte[] MetaHeader;
    @StructureMap(offset = 32)
    public long PhysicalOffset;
    @StructureMap(offset = 40)
    public Uint16 Generation;
}
